﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp1
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
        }

        private void MainForm_MouseClick(object sender, MouseEventArgs e)
        {
            // var otherForm = new OtherForm();
            //otherForm.Show();

            //var res=MessageBox.Show("消息的主要内容","消息标题",MessageBoxButtons.YesNo,MessageBoxIcon.Information);
            //if (res==DialogResult.Yes)
            //{
              //  MessageBox.Show("你点了同意，执行成功");
            //}
            //else
            //{
           //     MessageBox.Show("你点了不同意，执行失败");
           // }

        }

        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {

        }

        private void MainForm_Load(object sender, EventArgs e)
        {

        }
    }
}
